<!-- 热点检索页-高级搜索表单 -->
<template>
  <div class="">
    <a-popconfirm
      placement="bottom"
      ok-text="Yes"
      cancel-text="No"
      @confirm="confirm"
      @cancel="cancel"
    >
      <template slot="title">
        <p>{{ text }}</p>
        <p>{{ text }}</p>
      </template>
      <span style="textAlign: center">高级</span>
    </a-popconfirm>
  </div>
</template>

<script>
import moment from "moment";
export default {
  props: {},
  data() {
    return {
      text: "Are you sure to delete this task?"
    };
  },
  methods: {
    confirm(e) {
      console.log(e);
      this.$message.success("Click on Yes");
    },
    cancel(e) {
      console.log(e);
      this.$message.error("Click on No");
    },
  },
};
</script>
<style lang='stylus' scoped></style>